package de.lusiardi.webdav.xml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * http://www.webdav.org/specs/rfc4918.html#ELEMENT_locktype
 *
 * @author Joachim Lusiardi
 */
@XmlRootElement(name = "locktype")
@XmlAccessorType(XmlAccessType.FIELD)
public class LockType {

    @XmlElement
    private Write write;

    public Write getWrite() {
        return write;
    }

    public void setWrite(Write write) {
        this.write = write;
    }

}
